package com.rpay.common.util.http.listener;

import java.io.Serializable;

/**
 * @date: 2017/09/20
 * @desc:事件对象
 */
public class EventObject implements Serializable {

    private Object  source;

    private EventType eventType;

    public EventObject(EventType eventType, Object source) {
        this.source = source;
        this.eventType = eventType;
    }

    public Object getSource() {
        return source;
    }

    public void setSource(Object source) {
        this.source = source;
    }

    public EventType getEventType() {
        return eventType;
    }

    public void setEventType(EventType eventType) {
        this.eventType = eventType;
    }
}
